package com.yunyao.common.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class ReceiptSaveDto implements Serializable {


    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date applyDate;


    /**
     * 申请备注
     */
    private String applyMark;

    /**
     * 收据的业务ID
     */
    private String bizId;

    /**
     * 收据类型
     */
    @NotBlank(message = "收据类型为空")
    private String bizType;

    /**
     * 状态
     */
    @NotNull(message = "状态为空")
    private Integer status;

    /**
     * 单位
     */
    @NotBlank(message = "单位为空")
    private String receiptUnitName;


}
